package com.explorer;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ScrollView;
import android.widget.TextView;

public class ExplorerActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        TextView tv=new TextView(this);
        tv.setText(stringFromJNI());
        
        ScrollView sv=new ScrollView(this);
        sv.addView(tv);
        setContentView(sv);
        
    }
    

    public native String  stringFromJNI();
    static {
        System.loadLibrary("android-jni");
    }
}